* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Source Han Sans CN Regular';
    src: url('../font/Source Han Sans CN Regular.eot');
    src: url('../font/Source Han Sans CN Regular.woff') format('woff'),
        url('../font/Source Han Sans CN Regular.ttf') format('truetype'),
        url('../font/Source Han Sans CN Regular.svg') format('svg');
}
a{
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}
body,
html {
    width: 100%;
    height: 100%;
    background: #fff;
    color: #333333;
    font-family: Source Han Sans CN Regular;
    font-size: 16px;
}
ul li {
    list-style: none;
}
.main {
    max-width: 1200px;
    margin: auto;
}

/*  -- flex弹性布局 -- */

.flex {
    display: flex;
}

.basis-xs {
    flex-basis: 20%;
}

.basis-sm {
    flex-basis: 40%;
}

.basis-df {
    flex-basis: 50%;
}

.basis-lg {
    flex-basis: 60%;
}

.basis-xl {
    flex-basis: 80%;
}

.flex-sub {
    flex: 1;
}

.flex-twice {
    flex: 2;
}

.flex-treble {
    flex: 3;
}

.flex-fourfold {
    flex: 4;
}

.flex-fivefold {
    flex: 5;
}

.flex-six {
    flex: 6;
}

.flex-seven {
    flex: 7;
}


.flex-row {
    flex-direction: row;
}

.flex-direction {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.align-center {
    align-items: center;
}

.align-stretch {
    align-items: stretch;
}

.self-start {
    align-self: flex-start;
}

.self-center {
    align-self: flex-center;
}

.self-end {
    align-self: flex-end;
}

.self-stretch {
    align-self: stretch;
}

.align-stretch {
    align-items: stretch;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

/* 内外边距 */
.margin-ml {
    margin: 5px;
}

.margin-sm {
    margin: 10px;
}

.margin-mm {
    margin: 15px;
}

.margin-bg {
    margin: 20px;
}

.margin-right-ml {
    margin-right: 5px;
}

.margin-right-sm {
    margin-right: 10px;
}

.margin-right-mm {
    margin-right: 15px;
}

.margin-right-bg {
    margin-right: 20px;
}

.margin-right-lg {
    margin-right: 30px;
}


.margin-left-ml {
    margin-left: 5px;
}

.margin-left-sm {
    margin-left: 10px;
}

.margin-left-mm {
    margin-left: 15px;
}

.margin-left-bg {
    margin-left: 20px;
}

.margin-top-ml {
    margin-top: 5px;
}

.margin-top-sm {
    margin-top: 10px;
}

.margin-top-mm {
    margin-top: 15px;
}

.margin-top-bg {
    margin-top: 30px;
}

.margin-top-lg {
    margin-top: 50px;
}

.margin-bottom-ml {
    margin-bottom: 5px;
}

.margin-bottom-sm {
    margin-bottom: 10px;
}

.margin-bottom-mm {
    margin-bottom: 15px;
}

.margin-bottom-bg {
    margin-bottom: 20px;
}

.margin-bottom-hg {
    margin-bottom: 48px;
}

.margin-lr-ml {
    margin-right: 5px;
    margin-left: 5px;
}

.margin-lr-sm {
    margin-right: 10px;
    margin-left: 10px;
}

.margin-lr-mm {
    margin-right: 15px;
    margin-left: 15px;
}

.margin-lr-bg {
    margin-right: 20px;
    margin-left: 20px;
}

.margin-lr-hg {
    margin-right: 30px;
    margin-left: 30px;
}

.margin-tb-ml {
    margin-top: 5px;
    margin-bottom: 5px;
}

.margin-tb-sm {
    margin-top: 10px;
    margin-bottom: 10px;
}

.margin-tb-mm {
    margin-top: 15px;
    margin-bottom: 15px;
}

.margin-tb-bg {
    margin-top: 20px;
    margin-bottom: 20px;
}

.margin-lr-hg {
    padding-right: 28px;
    padding-left: 28px;
}

.padding-ml {
    padding: 5px;
}

.padding-sm {
    padding: 10px;
}

.padding-mm {
    padding: 15px;
}

.padding-bg {
    padding: 20px;
}

.padding-right-ml {
    padding-right: 5px;
}

.padding-right-sm {
    padding-right: 10px;
}

.padding-right-mm {
    padding-right: 15px;
}

.padding-right-bg {
    padding-right: 20px;
}

.padding-left-ml {
    padding-left: 5px;
}

.padding-left-sm {
    padding-left: 10px;
}

.padding-left-mm {
    padding-left: 15px;
}

.padding-left-bg {
    padding-left: 20px;
}

.padding-top-ml {
    padding-top: 5px;
}

.padding-top-sm {
    padding-top: 10px;
}

.padding-top-mm {
    padding-top: 15px;
}

.padding-top-bg {
    padding-top: 20px;
}

.padding-bottom-ml {
    padding-bottom: 5px;
}

.padding-bottom-sm {
    padding-bottom: 10px;
}

.padding-bottom-mm {
    padding-bottom: 15px;
}

.padding-bottom-bg {
    padding-bottom: 20px;
}

.padding-lr-ml {
    padding-right: 5px;
    padding-left: 5px;
}

.padding-lr-sm {
    padding-right: 10px;
    padding-left: 10px;
}

.padding-lr-mm {
    padding-right: 15px;
    padding-left: 15px;
}

.padding-lr-bg {
    padding-right: 20px;
    padding-left: 20px;
}

.padding-tb-ml {
    padding-top: 5px;
    padding-bottom: 5px;
}

.padding-tb-sm {
    padding-top: 10px;
    padding-bottom: 10px;
}

.padding-tb-mm {
    padding-top: 15px;
    padding-bottom: 15px;
}

.padding-tb-bg {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* color */
.white-color {
    color: #fff
}

.color3 {
    color: #333333
}
.color7a {
    color: #7a7a7a
}
.gary-color {
    color: #656565
}

/* bgcolor */
.bg-gary {
    background: #F9F9F9;
    ;
}

/* font size */
.font-size-ml {
    font-size: 10px;
}

.font-size-sm {
    font-size: 12px;
}

.font-size-nor {
    font-size: 14px;
}

.font-size-mm {
    font-size: 16px;
}

.font-size-bg {
    font-size: 18px;
}

.font-size-lg {
    font-size: 34px;
}

.font-size-xl {
    font-size: 40px;
}

.font-size-hg {
    font-size: 66px;
}

/* 字体样式 */
.font-blod {
    font-weight: bold;
}

.font-bloder {
    font-weight: bolder;
}

.font-inherit {
    font-weight: inherit;
}

.font-initial {
    font-weight: initial;
}

.font-normal {
    font-weight: normal;
}

/* 定位 */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.ab_bottom {
    bottom: 0;
}

.ab_top {
    top: 0;
}

.ab_left {
    left: 0;
}

.ab_right {
    right: 0;
}

/* 文本超出 */

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipsisN {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.ellipsis3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
/* 鼠标手势 */
.pointer {
    cursor: pointer;
}
/* 滚动条 */
::-webkit-scrollbar{
	height: 5px;
	width: 5px;
}
::-webkit-scrollbar-thumb{
	border-radius: 10px;
	box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
	background: #a5a5a5;
}
::-webkit-scrollbar-track{
	box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
	border-radius: 10px;
	background: #EDEDED;
}